package com.isdepci.project.carbon.mapper;

import com.isdepci.project.carbon.domain.BWeldHeatEmission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 切焊加热Mapper接口
 *
 * @author isdepci
 * @date 2025-03-29
 */
public interface BWeldHeatEmissionMapper
{

    // 按照年份查询
    List<BWeldHeatEmission> selectByYear(@Param("projectId") Long projectId, @Param("startYear") String startYear, @Param("endYear") String endYear);

    // 按照月份查询
    List<BWeldHeatEmission> selectByMonth(@Param("projectId") Long projectId, @Param("startMonth") String startMonth, @Param("endMonth") String endMonth);



    /**
     * 查询切焊加热
     */
     BWeldHeatEmission selectBWeldHeatEmissionById(Long id);

    /**
     * 查询切焊加热列表
     */
     List<BWeldHeatEmission> selectBWeldHeatEmissionList(BWeldHeatEmission bWeldHeatEmission);

    /**
     * 新增切焊加热
     */
     int insertBWeldHeatEmission(BWeldHeatEmission bWeldHeatEmission);

    /**
     * 修改切焊加热
     */
     int updateBWeldHeatEmission(BWeldHeatEmission bWeldHeatEmission);

    /**
     * 删除切焊加热
     */
     int deleteBWeldHeatEmissionById(Long id);

    /**
     * 批量删除切焊加热
     */
     int deleteBWeldHeatEmissionByIds(Long[] ids);


    void insertList(@Param("list") List<BWeldHeatEmission> list);


    List<BWeldHeatEmission> selectBWeldHeatEmissionByProjectId(Long projectId);
}
